package cn.sf.service;

import cn.sf.pojo.Comment;
import cn.sf.pojo.Reply;

import java.util.List;

public interface CommentService {

    //查询评论及回复
    public List<Comment> queryCommentAndReply(long videoId);

    //发布评论
    public boolean addComment(long userId,long videoId,String message,String picture);

    //回复评论
    public boolean addReply(Reply reply);

    //查询评论数量
    public int queryCommentCount(long videoId);
}
